package de.thw.web.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

import de.thw.web.dao.UserDAO;
import de.thw.web.model.User;

@Repository("UserDAO")
@Transactional
public class UserDAOImpl extends AbstractDAOImpl<User> implements UserDAO {

	public User load(String uid) {
		return super.load(User.class, uid);
	};

	public List<User> getAll() {
		return super.getAll("User");
	};

};